package com.hrzyit.base.injection.component

import android.content.Context
import com.hrzyit.base.injection.module.AppModule
import dagger.Component
import javax.inject.Singleton

/**
 * App 级别 Component
 * @author YangWei
 * @date 2019/3/10
 */
@Singleton
@Component(modules = [AppModule::class])
interface AppComponent {

    // 全局上下文
    fun context():Context
}